Plugin: Data | Mode: Run
Increases or decreases a number variable by a specified value.
Enter the variable you want to increase here. You can specify a local variable, a level attribute or argument, or a variable in an item.
You can formulate the variable manually or drag it over from the VARIABLES TOOLBAR.
The variable can be written with or without surrounding square brackets
Player.score is the same as here
The variable, if it already exists, must be a number or integer value.
The value by which the variable will be incremented.
- to decrease the value instead.
Increase the variable by 6:
Decrease the variable by 22.5:
Use square brackets (
]]) to increment the variable by the value of another number variable.
If multiple items is selected, it is possible to increase or decrease values in more than one item.
All variables of items to which the specified reference refers will be adjusted.
If multiple items is not selected, only variables in one item are adjusted, even if the specified reference points towards several items.
Details can be found in the chapter Variables, Data, References.
Increase the variable
score in the level argument
Player by 3